package com.social.mapper;

import com.social.entity.Certificate;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CertificateMapper {
    int deleteByPrimaryKey(String id);

    int insert(Certificate record);

    int insertSelective(Certificate record);

    Certificate selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Certificate record);

    int updateByPrimaryKey(Certificate record);
    List<Certificate> selectByHouseKeeperId(String id);
    int deleteByHouseKeeperId(String id);
}